In Python 2, backticks are a deprecated alias for repr()
. The syntax was removed in Python 3. To make the transition to Python 3
easier, they should not be used anymore.
Noncompliant code example
return `num` # Noncompliant
Compliant solution
return repr(num)